]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
screenshot: Expand window contents
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 28 Dec 2023 09:34:33 +0000 (10:34 +0100)
committerMarge Bot <marge-bot@gnome.org>
Wed, 3 Jan 2024 21:48:18 +0000 (21:48 +0000)
More fallout from commit c290a38730eb2 …

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7287

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3083>

js/ui/screenshot.js

index a1206a56d671182669116eb303d78be7c048099c..464e9567293aa303fcc1b9a006d5736eaeb7885d 100644 (file)
@@ -773,8 +773,11 @@ class UIWindowSelectorLayout extends Workspace.WorkspaceLayout {
 
 const UIWindowSelectorWindowContent = GObject.registerClass(
 class UIWindowSelectorWindowContent extends Clutter.Actor {
-    _init(actor, params) {
-        super._init(params);
+    constructor(actor) {
+        super({
+            x_expand: true,
+            y_expand: true,
+        });
 
         const window = actor.metaWindow;
         this._boundingBox = window.get_frame_rect();